using MediatR;

namespace SumerCoreDevOps.Application.SystemConfigs.Commands;

/// <summary>
/// 批量更新配置命令
/// </summary>
public record UpdateConfigsCommand(
    Dictionary<string, string> Configs,
    string? UpdatedBy = null
) : IRequest<Dictionary<string, bool>>; // 返回每个配置是否需要重启
